<?php

use App\Models\Company;
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;

class add_kids_seeds extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        $sql = "
            INSERT ignore INTO `company` (
              `company_id`, `company_name`, `company_code`
            , `province_id`, `city_id`, `contact_name`, `contact_tel`
            , `fax`, `address`, `apply_time`, `apply_ip`
            , `apply_branch_size`, `apply_vip_size`, `status_id`, `db_id`, `expired_at`, `branch_size`
            , `created_at`, `updated_at`)
            VALUES
            (
                1, '宏翰跆拳道馆', 'honghan'
              , 25, 187, '朱教练', '18605928360'
              , '5911122', NULL, '2016-05-31 14:29:49', '127.0.0.1'
              , 1, 0, 1, 1, '2019-05-31 15:30:00', 1
              , '2016-01-01 00:00:00', '2016-01-01 00:00:00')
        ";

        DB::insert($sql);
    }
}
